/* 
 * Copyright (c) 2021, CENTRIN.CIYUN.LTD. All rights reserved.
 */
package com.cory.boot.domain.chart;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xiongcong
 * @date 2021-03-11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Tree {
    private String id;
    private String pid;
    private String name;
    
    private boolean open = false;

    /**
     * @param id
     * @param pid
     * @param name
     */
    public Tree(String id, String pid, String name) {
        super();
        this.id = id;
        this.pid = pid;
        this.name = name;
    }
    
    
}
